<?php

namespace app\validate\api\housing;

use think\Validate;

class HousingPersonalAuthenticationValidate extends Validate
{


	protected $rule = [
		'Identity_type' => 'require',
		'name'   => 'require',
		'phone' => 'require|max:11',
		'Identity_id' => 'require',
		'identity_positive' => 'require',
		'identity_reverse' => 'require',
	];


	protected $message = [
		'Identity_type.require' => '身份类型必填',
		'name.require'   => '姓名必填',
		'phone' => '必须是手机号',
		'Identity_id' => '身份证号不正确',
		'identity_positive.require' => '身份证正面必填',
		'identity_reverse.require' => '身份证反面必填',
	];

}